package com.qf.service;

import com.qf.pojo.entity.Student;
import com.qf.pojo.vo.StudentVO;

import java.util.HashMap;
import java.util.List;

public interface StudentService {
    Student findStudent(int id);

    List<Student> findAllStudent();

    List<Student> findByKeyword(HashMap<String, Object> map);

    void addStudent(Student student);

    void updateStudent(Student student);

    void deleteStudent(int id);

    void batchDeleteStudent(List<Integer> ids);

    List<StudentVO> findAllStudentAndClassroom();

    StudentVO findStudentAndAllSubjectByStuid(int sid);

    StudentVO findStudentAndAllSubjectAndTeacherByStuid(int sid);
}
